
/**
 * Created by YuanDaYi on 2017/12/2.
 */

const qiukai    = 'http://192.168.1.56:8080/parking-sale-rental-server';

const test      = 'http://192.168.1.111:8080/parking-sale-rental-server';

const dev       = 'http://jt.tpddns.cn:81/parking-sale-rental-server';

const ake_test  = '/api';

const url = ake_test;

const login                       = url + '/sys/user/login'; // 登录

const logout                      = url + '/sys/user/logout'; // 登出

const updatePass                  = url + '/sys/user/updatePass'; // 修改密码

const querySaleRent               = url + '/bas/sale/rent/querySaleRent'; // 查询租售信息

const exportExcel                 = url + '/bas/sale/rent/exportExcel'; // 导出excel

const addLabel                    = url + '/bas/sale/rent/addLabel'; // 添加标签

const removeLabel                 = url + '/bas/sale/rent/removeLabel'; // 删除标签

const forciblyUp                  = url + '/bas/sale/rent/forciblyUp'; // 强制下架

const selectProtocolTemplate      = url + '/bas/protocol/template/selectProtocolTemplate'; // 查询协议模板

const uploadTemplate              = url + '/bas/protocol/template/uploadTemplate'; // 上传模板

const deleteTemplate              = url + '/bas/protocol/template/deleteTemplate'; // 删除模板

const pushSaleRentRecord          = url + '/bas/text/record/pushSaleRentRecord'; // 发布租售说明

const getSaleRentRecord           = url + '/bas/text/record/getSaleRentRecord'; // 查询租售说明

const getLoginUserName            = url + '/sys/user/getLoginUserName'; // 获得登录用户

export default{
  login,
  logout,
  updatePass,
  querySaleRent,
  exportExcel,
  addLabel,
  removeLabel,
  forciblyUp,
  selectProtocolTemplate,
  uploadTemplate,
  deleteTemplate,
  pushSaleRentRecord,
  getSaleRentRecord,
  getLoginUserName,
}

